package com.test.qpbgboot.user.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalTime;

@Data
public class PersonalAccountLogVO {
    @ApiModelProperty(value = "个人账户记录表id")
    private Long id;
    @ApiModelProperty(value = "个人账户id")
    private Long personalId;
    @ApiModelProperty(value = "订单编号")
    private String orderNo;
    @ApiModelProperty(value = "交易日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private LocalDate tDate;
    @ApiModelProperty(value = "交易时间")
    @JsonFormat(pattern = "HH:mm:ss",timezone = "GMT+8")
    private LocalTime tTime;
    @ApiModelProperty(value = "交易类型")
    private String transactionType;
    @ApiModelProperty(value = "交易金额")
    private BigDecimal amount;
    @ApiModelProperty(value = "积分数")
    private Long points;
    @ApiModelProperty(value = "收付款账户")
    private String counterparty;

    @ApiModelProperty(value = "用户id")
    private Long userId;
}
